﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RayTracer
{
    class Ray
    {
        public Point3D origin;
        public Vector direction;

        // CONSTRUCTORS
        public Ray()
        {
            this.origin = new Point3D();
            this.direction = new Vector();
        }

        public Ray(Point3D o, Vector d)
        {
            this.origin = o;
            this.direction = d;
        }

        // PROPERTIES
        public Point3D Origin
        {
            get { return this.origin; }
            set { origin = value; }
        }

        public Vector Direction
        {
            get { return this.direction; }
            set { direction = value; }
        }

        // METHODS

    }
}
